<template>
  <div class="focus-info">
    <div class="content-info-top-title">
      {{ mainTitle }}
    </div>
    <div class="content-info-bottom-box">
      <p class="motto">{{ motto }}</p>
      <div class="social-network">
        <i class="iconfont iconmall-Left"></i>
        <router-link v-for="{icon,url} in socialNetworkArr" :to="url" :key="icon">
          <i :class="icon" class="iconfont"></i>
        </router-link>
        <i class="iconfont iconmall-right"></i>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: '',
  components: {},
  data () {
    return {
      mainTitle: 'FireWorks',
      motto: '122 寝室牛牛牛',
      socialNetworkArr: [
          {icon:'iconqq',url:'http://www.baidu.com'},{icon:'icongithub',url:'http://www.baidu.com'}
      ]
    }
  },
}
</script>
<style lang="scss">

.focus-info {
  left: 50%;
  transform: translate(-50%, 0);
  position: relative;
  width: 650px;
  top: 34.5vh;
  height: 250px;
  z-index: 100;

  .content-info-top-title {
    position: absolute;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    left: 50%;
    transform: translate(-50%, 0);
    font-size: 80px;
    color: #ffe5e0;
    margin: auto;
  }

  .content-info-bottom-box {
    position: absolute;
    top: 150px;
    background: rgba($color: #000000, $alpha: 0.4);
    width: 650px;
    height: 110px;
    box-sizing: border-box;
    border-radius: 10px;

    .motto {
      line-height: 24px;
      font-size: 16px;
      text-align: center;
      font-weight: 700;
      color: #ffe5e0;

    }

    .social-network {
      height: 35px;
      margin: 0 auto;
      width: 100%;
      text-align: center;
    }
  }
}
</style>
